package com.stox.charting.ui.swing.widget;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import com.stox.charting.ui.swing.action.NewChartAction;
import com.stox.core.ui.swing.wrapper.JMenuItem;
import com.stox.resources.i18n.MessageSource;

public class ChartMenuItem extends JMenuItem{
	private static final long serialVersionUID = 3862436559223083492L;

	public ChartMenuItem() {
		super(MessageSource.getMessage("Show.Chart"),KeyEvent.VK_C,ActionEvent.ALT_MASK,"chart.png");
		addActionListener(new NewChartAction());
	}
	
}
